package com.fengze.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

/**
 * 产品信息对象 fz_products
 * 
 * @author lg
 * @date 2024-01-31
 */
public class Products extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 排序 */
    @Excel(name = "排序")
    private Integer seq;

    /** 状态0无效1有效 */
    @Excel(name = "状态0无效1有效")
    private Integer status;

    /** 类别id */
    @Excel(name = "类别id")
    private String categoryPids;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userId;

    /** 创建部门id */
    @Excel(name = "创建部门id")
    private Long deptId;

    /** 产品参数 */
    @Excel(name = "产品参数")
    private String productParameters;

    /** 厂家品牌 */
    @Excel(name = "厂家品牌")
    private String brand;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String measurementUnit;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String description;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryNames;

    /**
     * 图片地址
     */
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setSeq(Integer seq) 
    {
        this.seq = seq;
    }

    public Integer getSeq() 
    {
        return seq;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCategoryPids(String categoryPids) 
    {
        this.categoryPids = categoryPids;
    }

    public String getCategoryPids() 
    {
        return categoryPids;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setProductParameters(String productParameters) 
    {
        this.productParameters = productParameters;
    }

    public String getProductParameters() 
    {
        return productParameters;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setMeasurementUnit(String measurementUnit) 
    {
        this.measurementUnit = measurementUnit;
    }

    public String getMeasurementUnit() 
    {
        return measurementUnit;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCategoryNames(String categoryNames) 
    {
        this.categoryNames = categoryNames;
    }

    public String getCategoryNames() 
    {
        return categoryNames;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("seq", getSeq())
            .append("status", getStatus())
            .append("categoryPids", getCategoryPids())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("productParameters", getProductParameters())
            .append("brand", getBrand())
            .append("measurementUnit", getMeasurementUnit())
            .append("supplier", getSupplier())
            .append("description", getDescription())
            .append("categoryNames", getCategoryNames())
            .toString();
    }
}
